Add missing options to dotnet run command documentation#50912
Merged
meaghanlewis merged 6 commits intomainfrom Jan 7, 2026
Merged
Add missing options to dotnet run command documentation#50912meaghanlewis merged 6 commits intomainfrom
meaghanlewis merged 6 commits intomainfrom
Conversation
…le with -lp shortcut Co-authored-by: meaghanlewis <10103121+meaghanlewis@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add missing shortcut for launch profile option
Add missing options to dotnet run command documentation
Jan 6, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
This PR fixes documentation discrepancies by adding missing options to the dotnet run command Synopsis that were already documented in the Options section but were absent from the command syntax.
- Added four missing options to the Synopsis section:
-lpshortcut for--launch-profile,--disable-build-servers,--no-cache, and-sc|--self-contained - Updated the Options section to show the
-lpshortcut alongside--launch-profile
Add a newline at the end of the dotnet-run.md file.
Add a newline at the end of the dotnet-run.md file
meaghanlewis
approved these changes
Jan 6, 2026
gewarren
pushed a commit
to gewarren/docs
that referenced
this pull request
Jan 8, 2026
* Initial plan * Add missing options to dotnet-run.md Synopsis and update launch-profile with -lp shortcut Co-authored-by: meaghanlewis <10103121+meaghanlewis@users.noreply.github.com> * Fix formatting of dotnet run command options * Remove extra newline at end of dotnet-run.md Add a newline at the end of the dotnet-run.md file. * Fix missing newline at end of dotnet-run.md Add a newline at the end of the dotnet-run.md file * Remove trailing newline from dotnet-run.md --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: meaghanlewis <10103121+meaghanlewis@users.noreply.github.com> Co-authored-by: Meaghan Osagie (Lewis) <mosagie@microsoft.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The
dotnet rundocumentation Synopsis was missing several options that exist in the command: the-lpshortcut for--launch-profile,--disable-build-servers,--no-cache, and-sc|--self-contained.Changes
-lp|--launch-profile,--disable-build-servers,--no-cache, and-sc|--self-containedto the command syntax--launch-profileto show the-lpshortcutAll options were already documented in the Options section (either directly or via include files) but were missing from the Synopsis, creating a discrepancy between the documentation and actual command behavior.
Original prompt
-lp <NAME>) ... and a few other options #48118💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.
Internal previews